﻿<Window x:Class="CECB.Member.V_MemberNew_Window"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="V_MemberNew_Window" 
         xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
       
          WindowStartupLocation="CenterScreen"   Background="#AA000000" 
        AllowsTransparency="True" WindowStyle="None" WindowState="Maximized"
        mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Grid VerticalAlignment="Center" HorizontalAlignment="Center" Margin="100,50,0,0" Width="800" Height="650">
        <Canvas Background="Transparent" Width="auto" Height="auto">
            <Rectangle Margin="5,0,-18,36" Stroke="White" RadiusY="19.5" RadiusX="19.5" StrokeThickness="4" Grid.RowSpan="2" Height="500" Width="674">
                <Rectangle.Effect>
                    <DropShadowEffect Direction="330" BlurRadius="24" ShadowDepth="13" />
                </Rectangle.Effect>
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="#FFA3A1A1" Offset="0.494" />
                        <GradientStop Color="#FF272121" Offset="0" />
                        <GradientStop Color="#FF272121" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Label Content="Create a New Member" Height="auto" HorizontalAlignment="Center" Margin="0,10,10,0"  VerticalAlignment="Center" Width="auto" FontSize="20" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF" Canvas.Left="25" Canvas.Top="-3"></Label>
            <StackPanel Margin="60,50,0,0" Width="603" Height="auto">
                <WrapPanel VerticalAlignment="Top" Height="auto" Orientation="Horizontal">
                    <Label Content=" " Height="1" HorizontalAlignment="Center" Margin="0,10,10,0"  VerticalAlignment="Center" Width="auto" FontSize="20" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF"></Label>


                </WrapPanel >


                <WrapPanel VerticalAlignment="Top" Orientation="Horizontal">
                    <Label Content="Full Name" Height="28" Width="100" Name="label1" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="70,0,0,0" Name="textBox_FirstName" VerticalAlignment="Top" Width="250" FontSize="14" Foreground="#FF4E0000" />
                </WrapPanel>
                <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0">
                    <Label Content="Address" Height="28" Width="100" Name="label5" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                    <TextBox Height="auto" HorizontalAlignment="Left" Margin="70,0,0,0" Name="textBox_Address" VerticalAlignment="Top" Width="250" MinHeight="30" MaxHeight="60" TextWrapping="Wrap" AcceptsReturn="True" FontSize="14" Foreground="#FF4E0000" />

                </WrapPanel>
                <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0">
                    <Label Content="Designation" Height="28" Width="100" Name="label4" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                    <ComboBox Height="30" HorizontalAlignment="Left" Margin="70,0,0,0" Name="comboBox_Designation" VerticalAlignment="Top" Width="250" FontSize="14" Foreground="#FF4E0000" SelectionChanged="textBox_Designation_SelectionChanged">
                        <ComboBoxItem Content="Team Leader" />
                        <ComboBoxItem Content="Consultent" />
                    </ComboBox>

                </WrapPanel>
                <WrapPanel VerticalAlignment="Top" Name="wrapPanelUserLogin" Margin="0,5,0,0"></WrapPanel>
                <WrapPanel VerticalAlignment="Top">
                    <Label Content="Specilization" Width="100" Height="28" Name="labele" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                    <ComboBox Height="30" HorizontalAlignment="Left" Margin="70,5,0,0" Name="comboBox_Specilised" VerticalAlignment="Top" Width="250" FontSize="14" Foreground="#FF4E0000" DisplayMemberPath="cmpt_name" SelectedValuePath="cmpt_reference" SelectionChanged="comboBox_Specilised_SelectionChanged" />
                </WrapPanel>
                <WrapPanel VerticalAlignment="Top" Orientation="Horizontal">
                    <Label Content="Add Contact Numbers" Height="28" Width="150" Name="label12" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="19,5,0,0" Name="textBox_ContactNo1" VerticalAlignment="Top" Width="251" FontSize="14" Foreground="#FF4E0000" PreviewTextInput="textBox_ContactNo3_PreviewTextInput" TextChanged="textBox_ContactNo3_TextChanged" />
                    <Button Background="{x:Null}" BorderBrush="White"   Height="35"   Name="button_addContact1" Width="86" Click="button_addContact1_Click" Margin="15,5,0,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Height="32" Margin="2,2,16,2" Source="/CECB;component/images/image_add.png" Width="18" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center"></StackPanel>
                            <TextBlock Margin="23,4,2,4" Padding="0" Text="add more
                                           " Foreground="White" TextWrapping="NoWrap" Height="21" Grid.ColumnSpan="2" />
                        </Grid>
                    </Button>

                    <TextBox Height="30" HorizontalAlignment="Left" Margin="195,0,0,0" Name="textBox_ContactNo2" VerticalAlignment="Top" Width="250" FontSize="14" Foreground="#FF4E0000" PreviewTextInput="textBox_ContactNo3_PreviewTextInput" TextChanged="textBox_ContactNo3_TextChanged" Visibility="Collapsed" />
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="195,5,0,0" Name="textBox_ContactNo3" VerticalAlignment="Top" Width="250" FontSize="14" Foreground="#FF4E0000" PreviewTextInput="textBox_ContactNo3_PreviewTextInput" TextChanged="textBox_ContactNo3_TextChanged" Visibility="Collapsed" />
                </WrapPanel>
                <WrapPanel VerticalAlignment="Top" Orientation="Horizontal">
                    <Label Content="Email Address" Height="28" Width="100" Name="label21" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="70,5,0,0" Name="textBox_Email1" VerticalAlignment="Top" Width="250" FontSize="14" Foreground="#FF4E0000" />
                    <Button Background="{x:Null}" BorderBrush="White"   Height="35"   Name="button_addContact3" Width="86" Click="button_addContact3_Click" Margin="15,5,0,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Height="32" Margin="2,2,16,2" Source="/CECB;component/images/image_add.png" Width="18" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center"></StackPanel>
                            <TextBlock Margin="23,4,2,4" Padding="0" Text="add more
                                           " Foreground="White" TextWrapping="NoWrap" Height="21" Grid.ColumnSpan="2" />
                        </Grid>
                    </Button>
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="195,0,0,0" Name="textBox_Email2" VerticalAlignment="Top" Width="250" FontSize="14" Foreground="#FF4E0000" Visibility="Collapsed" />
                </WrapPanel>
                <StackPanel Name="stackPanel14" Orientation="Horizontal" Margin="300,20,0,0" Width="215">

                    <Button Background="{x:Null}" BorderBrush="White"   Height="44" Margin="2,0" Name="NewButton" Width="98" Click="NewButton_Click">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Grid.Column="0" Height="32" Margin="2" Source="/CECB;component/images/sliderCancel.png" Width="32" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                                <TextBlock Margin="0,1,0,0 " Padding="0" Text="Clear
                                           "  Foreground="White" TextWrapping="NoWrap" Height="21" />
                            </StackPanel>
                        </Grid>
                    </Button>
                    <Button Background="{x:Null}" BorderBrush="White" Click="SaveButton_Click" Height="44" Margin="2,0" Name="SaveButton" Width="98">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Grid.Column="0" Height="32" Margin="2" Source="/CECB;component/images/Save.png" Width="32" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                                <TextBlock Margin="0" Padding="0" Foreground="White" Text="Save" TextWrapping="NoWrap" />
                            </StackPanel>
                        </Grid>
                    </Button>
                     
                </StackPanel>
            </StackPanel>

            <Grid HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,70,80,0" Canvas.Left="508" Canvas.Top="-60"></Grid>
            <Image Height="32" Source="/CECB;component/images/closeblack.png" Width="32" MouseLeftButtonDown="Image_MouseLeftButtonDown" Canvas.Left="631" Canvas.Top="12" />
        </Canvas>
    </Grid>
</Window>
